package com.harunasan.carrental.common.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 默认分页参数
 * @author LiangYi
 */
@Data
public class ListQueryParam {
    @ApiModelProperty(value = "当前页数(默认1)")
    private Integer current = 1;
    @ApiModelProperty(value = "显示数(20)")
    private Integer size = 20;

    @ApiModelProperty(value = "是否升序")
    private Boolean isAsc;
    @ApiModelProperty(value = "排序字段")
    private String sortColumns;

}

